package ShuZu;

import java.sql.SQLOutput;
import java.util.Arrays;

public class ShuZuShuChu {
    public static void main(String[] args) {

        int [] b={0,1};
        System.out.println(Arrays.toString(b));//一维数组遍历输出可以直接用Arrays.toString(数组名字)


        int [][] a={{0,1},{0,1}};//二维数组遍历输出需要遍历行数输出
        for (int i = 0; i <2; i++) {
            System.out.println(Arrays.toString(a[i]));
        }

    }

}
